package cn.edu.xmist.state;

/**
 * 抽象环境角色
 */
public abstract class State {

    /**
     * 上下文，进行状态传递
     */
    protected Context context;

    public void setContext(Context context) {
        this.context = context;
    }

    public abstract void handle1();

    public abstract void handle2();
}
